package com.kdd.campus.sh.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:ShProduct构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "ProductInfo",value = "ProductInfo")
@Data
@Builder
@Accessors(chain = true)
public class ProductInfo implements Serializable{

	@ApiModelProperty(value = "商品id",required = true)
	private Long pid;

	@ApiModelProperty(value = "商品图片",required = false)
	private String pImg;

	@ApiModelProperty(value = "商品名称",required = false)
	private String pName;

	@ApiModelProperty(value = "商品价格",required = false)
	private Double price;

	@ApiModelProperty(value = "用户头像",required = false)
	private String uImg;

	@ApiModelProperty(value = "用户昵称",required = false)
	private String username;

	@ApiModelProperty(value = "是否是全新",required = false)
	private String isNew;

	@ApiModelProperty(value = "是否送货上门",required = false)
	private String isHomeDelivery;


}
